home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
redakcyjne
/
programy
/
Tlen 6.0.1.12 pl
/
tleninst60112.exe
/
sdk
/
TlenSources
/
plugin
/
plugin_sound_events.h
< prev
next >
Wrap
C/C++ Source or Header
|
2006-08-30
|
1KB
|
43 lines
#ifndef plugin_sound_eventsH
#define plugin_sound_eventsH
#include <windows.h>
#include "cl_struct.h"
//hook powiadamiaj╣cy o zdarzeniach dƒwiΩkowych
#define TLEN_SOUNDENGINE_BEFOREEVENT "Tlen/SoundEngine/BeforeEvent"
//funkcja odgrywaj╣ca dƒwiΩk zdarzenia
#define TLEN_SOUNDENGINE_PLAYSOUND "Tlen/SoundEnging/PlaySound"
//Tu jako WPARAM idzie:
typedef struct {
int structSize; //wielko£µ strutkury w bajtach
int EventCode; //Kod zdarzenia
ContactDef *Contact; //Kontakt, kt≤rego dotyczy zdarzenie (lub sam protok≤│ - np logowanie, albo te┐ NULL)
char *WaveFile; //£cie┐ka pliku, kt≤ry zostanie odegrany
int Flags;
} SoundEventDef;
#define SOUND_EVENT_LOGGEDIN 0x0001
#define SOUND_EVENT_MESSAGERECV 0x0002
#define SOUND_EVENT_CHATSTARTED 0x0003
#define SOUND_EVENT_CHATMESSAGERECV 0x0004
#define SOUND_EVENT_CONFERENCEMESSAGERECV 0x0005
#define SOUND_EVENT_CONFERENCEINVITATION 0x0006
#define SOUND_EVENT_USERONLINE 0x0007
#define SOUND_EVENT_AUTHORIZATIONREQUEST 0x0008
#define SOUND_EVENT_FILERECV 0x0009
#define SOUND_EVENT_VOICECHATRECV 0x000A
#define SOUND_EVENT_MAILRECV 0x000B
#define SOUND_EVENT_ALERT 0x000C
#define SOUND_EVENT_LOGGEDINGG 0x000D
#endif